package com.naiterui.ehp.bs.doctor.vo.product;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <pre>
 * 商品属性信息VO
 * </pre>
 *
 * @author fangguanhong
 * @date 2019/5/21 下午6:59
 * @since 1.0.0
 */
public class ProductAttrVO implements Serializable {

    private static final long serialVersionUID = -3724048354855461770L;

    /**
     * 属性ID
     */
    @ApiModelProperty(value = "属性ID")
    private Integer id;

    /**
     * 属性名称
     */
    @ApiModelProperty(value = "属性名称")
    private String attributeKey;
    /**
     * 属性值
     */
    @ApiModelProperty(value = "属性值")
    private String attributeValue;

    public ProductAttrVO(Integer id, String attributeKey, String attributeValue) {
        this.id = id;
        this.attributeKey = attributeKey;
        this.attributeValue = attributeValue;
    }

    public ProductAttrVO() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAttributeKey() {
        return attributeKey;
    }

    public void setAttributeKey(String attributeKey) {
        this.attributeKey = attributeKey;
    }

    public String getAttributeValue() {
        return attributeValue;
    }

    public void setAttributeValue(String attributeValue) {
        this.attributeValue = attributeValue;
    }

    @Override
    public String toString() {
        return "ProductAttrVO{" +
                "id=" + id +
                ", attributeKey='" + attributeKey + '\'' +
                ", attributeValue='" + attributeValue + '\'' +
                '}';
    }
}
